

.root {
  height: calc(100vh - 72px);
  width: 100%;
  display: flex;
  gap: 8px;

} 
.file-view {
  height: 100%;
  width: 100%;
  display: flex;
  gap: 8px;
} 

.left {
  height: 100%;
  display: flex;
  flex-direction: column;
  .header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 16px;
    .title {
      font-size: 16px;
      line-height: 24px;
      font-weight: 600;
      flex: auto;
    }
  }
  .file-type-tag {
    height: 24px;
    display: block;
    cursor: pointer;
    &.is-selected {
      background-color: #366EF4;
      color: white;
    }
  }
  .file-list {
    height: 1px;
    flex: auto;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    :global {
      .ogo-list-item-action {
        margin-left: 8px;
      }
      .ogo-dropdown-trigger {
        > :last-child {
          display: none;
        }
      }
    }
  }
  .footer {
    height: 32px;
    padding: 0 16px;
    line-height: 32px;
  }
}
.right {
  height: 100%;
  padding: 12px;
  flex: auto;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 1px;
  .topbar {
    height: 32px;
    display: flex;
    align-items: center;
    gap: 8px;
    .path {
      font-size: 16px;
      line-height: 32px;
      font-weight: 600;        
    }
  }
  .preview {
    height: 400px;
    flex: auto;
    overflow: auto;
    > :only-child {
      margin: 0 !important;
      height: 100%;
      width: 100%;
    }    
  }
  > :global(.ogo-empty) {
    display: flex;
    flex: auto;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }  
}